package cn.tedu.spring.eg2;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

//测试类
public class TestCommentMapper {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext acac = new AnnotationConfigApplicationContext("cn/tedu/spring/eg2");
        CommentMapper commentMapper = acac.getBean(CommentMapper.class);
        System.out.println("commentMapper = " + commentMapper);
    }
}
